﻿using System;
using VIT.Web.UI;
using System.Data;
using System.Web;

using VIT.DataHelper.DataAccess;
using VIT.Wedding;

namespace VIT.Web.Templates.Home
{
    public partial class Home : VITTemplate
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var company = VITData.GetObject<CompanyDetail>(c => c.Id > 0);
            lblHotLine.Text = company.Phone;
            lblCompanyName.Text = company.CompanyName;
        }
    }
}